export type Accident = {
    count: number;
    province: string;
    city: string;
    district: string;
}

export type GraphNode = {
    id: number;
    name: string;
}

export type NodeRelation = {
    from: number;
    to: number;
    name: string;
}

export type AccidentGraph = {
    accident_id: string;
    nodes: GraphNode[];
    relations: NodeRelation[];
}
